/*
 * @Description: 全宗reducer
 * @Author: Rfan
 * @Date: 2022-01-08 16:30:05
 * @LastEditTime: 2022-02-24 13:43:58
 */

import { ARC_TYPE_LOADING } from '../constants';

export const EstrayRecordReducer = (state, action) => {
  switch (action.type) {
    // 表格加载loading
    case ARC_TYPE_LOADING:
      return { ...state, loading: true };

    default:
      console.log('untouched', action);
      return state;
  }
};
